home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global gWhichSound4, gLastLoop
- set the volume of sound 12 to 0
- puppetSprite(9, 1)
- if the foreColor of sprite 9 = 255 then
- undoLoop()
- set the foreColor of sprite 9 to 226
- set gWhichSound4 to getpn() & "Sounds:Loops:Loop2.aif"
- sound playFile 5, gWhichSound4
- set gLastLoop to 5
- else
- set the foreColor of sprite 9 to 255
- set gWhichSound4 to EMPTY
- sound stop 5
- set gLastLoop to 0
- end if
- updateStage()
- end
-